package com.blb.community.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blb.community.entity.ZyVisitor;
import com.blb.community.entity.vo.VisitorVo;
import com.blb.community.mapper.ZyVisitorMapper;
import com.blb.community.service.IZyVisitorService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 访客邀请  服务实现类
 * </p>
 *
 * @author 帅帅
 * @since 2022-07-02
 */
@Service
public class ZyVisitorServiceImpl extends ServiceImpl<ZyVisitorMapper, ZyVisitor> implements IZyVisitorService {

    @Autowired
    private ZyVisitorMapper visitorMapper;

    /**
     * 分页+模糊查询
     * @param page
     * @param visitorVo
     * @return
     */
    @Override
    public IPage<ZyVisitor> selectVisitorPage(IPage<ZyVisitor> page, VisitorVo visitorVo) {
        return visitorMapper.selectVisitorPage(page,visitorVo);
    }
}
